package com.caoJun.bean.constructor.controller;

import com.caoJun.bean.constructor.service.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @Description: SSM_homework
 * @Author 83-start
 * @Time 2021/4/11 15:43
 */
@Controller
public class UserController {
    @Resource(name = "userService")
    private UserService userService;

    public void save(){
        this.userService.save();
        System.out.println("_____ controller _____ save");
    }
}
